home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Format CD 49
/
Amiga Format CD49 (2000-01-17)(Future Publishing)(GB)(Track 1 of 3)[!][issue 2000-02].iso
/
-readerstuff-
/
paul_bray
/
e-stuff
/
readme
< prev
next >
Wrap
Text File
|
1999-11-30
|
2KB
|
51 lines
These EModules Were Created By Paul Bray Using AmigaE v3.1i And PhxAss v4.39.
You My Use These EModules In Your Programs.
To Install Them, Copy The "Pauls" Drawer Into Your EModules.
I Have Included Some Examples.
Here Is A List Of All The EModules:
average.m: num:=average(list:PTR TO LONG)
The 'list' Is A List Of Numbers That Are To Be Averaged.
'num' Is The Result Of The 'list' Being Averaged.
faverage.m: float:=faverage(floatlist:PTR TO LONG)
Same As 'average' But Uses Floats.
doproc.m: doProc(num, proc:PTR TO LONG, usevar=FALSE)
The 'num' Is The Number Of Times 'proc' Will Be Executed.
'proc' Is The Address To A Proc.
If 'usevar' Is Anything Other Than FALSE Then 'proc' Will Be 'proc(x)'.
The 'x' Is The Current Number Of Times 'proc' Has Been Executed.
math020.m: div020(a:LONG, b:LONG)
Will Divide 'a' by 'b'.
REQUIRES: 68020+
mul020(a:LONG, b:LONG)
Will Multiply 'a' by 'b'.
REQUIRES: 68020+
mouseinp.m: error:=mouseInput(inp=TRUE)
If 'inp' Is Anything Other Than TRUE The Mouse Input Will Switch Off.
But If 'inp' Is TRUE Mouse Input Will Switch On.
'error' will equal:
-1 If CreateMsgPort() Failed.
-2 If CreateIORequest() Failed.
-3 If Unable To Open The Input.Device.
pytha.m: hyp:=fHyp(adj,opp)
'hyp' Is The Hypotenuse Of The Adjacent And Oppostie Sides.
They Are All In Float Form.
side:=fSide(hyp,oside)
This Will Calculate The 'side' From The Hypotenuse And The Other Side.
The Adjacent And Oppostie Sides Are Calculated The Same Way.
They Are All In Float Form.
swapval.m: swapval(a:PTR TO LONG, b:PTR TO LONG)
Swaps The Contenst Of 'a' And 'b'.
'a' Is The Address To The First Variable And 'b' Is The Address To The Second Variable.